package com.sskj.cndragon.bean;

import java.util.ArrayList;
import java.util.List;

public class WithDrawBean {
    private String rate;
    private String fund;
    private List<StockBean> stockList;

    public String getRate() {
        return rate == null ? "" : rate;
    }

    public void setRate(String rate) {
        this.rate = rate;
    }

    public String getFund() {
        return fund == null ? "" : fund;
    }

    public void setFund(String fund) {
        this.fund = fund;
    }

    public List<StockBean> getStockList() {
        if (stockList == null) {
            return new ArrayList<>();
        }
        return stockList;
    }

    public void setStockList(List<StockBean> stockList) {
        this.stockList = stockList;
    }

    public class StockBean {
        private String id;
        private String name;
        private String minPrice;
        private String maxPrice;

        public String getId() {
            return id == null ? "" : id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name == null ? "" : name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getMinPrice() {
            return minPrice == null ? "" : minPrice;
        }

        public void setMinPrice(String minPrice) {
            this.minPrice = minPrice;
        }

        public String getMaxPrice() {
            return maxPrice == null ? "" : maxPrice;
        }

        public void setMaxPrice(String maxPrice) {
            this.maxPrice = maxPrice;
        }
    }
}
